<div class="qyfxBox">
    <div class="echartBox" id="qyfx1"></div>
</div>
<script type="text/javascript">
    $(document).ready(function () {
        layui.use(['echarts', 'tax'], function () {

            var opt = layui.tax,
                $ = layui.$;
            var p1 = echarts.init(document.getElementById('qyfx1'));
            p1.setOption(opt[10]);
        })
    })
</script>